package com.financing.platform.service;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.ProjectAnnualRevenueDTO;

public interface IProjectAnnualRevenueService extends IBaseService {
	
	/**
	 * 
	* @Title: insertProjectAnnualRevenue 
	* @Description: 添加产品年化益率信息
	* @param   projectAnnualRevenueDTO
	* @return Integer   
	* @throws
	 */
	public Integer insertProjectAnnualRevenue(ProjectAnnualRevenueDTO projectAnnualRevenueDTO);
	
	/**
	 * 
	* @Title: queryProjectAnnualRevenue 
	* @Description: 产品年化益率查询
	* @param   pid
	* @return List<ProjectAnnualRevenueDTO>   
	* @throws
	 */
	public List<ProjectAnnualRevenueDTO> queryProjectAnnualRevenue(Integer pid);
	
	/**
	 * @throws SQLException 
	 * 
	* @Title: deleteProjectAnnualRevenue 
	* @Description: 删除年化率
	* @param   pid
	* @return int   
	* @throws
	 */
	public int deleteProjectAnnualRevenue(Integer pid) throws SQLException;
}
